package org.chen.common.model.order;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Schema( name = "TravelOrder对象", description="预下单（订单）请求对象")
public class TravelOrder {
    @Schema(description  = "总价")
    private BigDecimal allPrice;
    @Schema(description  = "商品id")
    private Integer productId;
    @Schema(description  = "数量")
    private Integer quantity;
    @Schema(description  = "单价")
    private String price;
    @Schema(description  = "类型")
    private Integer type;
}
